import request from './index'

function login1(data) {
    const result = request({
        url: '/idempotent/idempotentSaveByRedis',
        method: 'post',
        data
    })
    return result
}

function login2(data) {
    const result = request({
        url: '/idempotent/idempotentSaveBySqlTable',
        method: 'post',
        data
    })
    return result
}

export default {
    login1,
    login2
}